<template>
	<view class="TAText_head">
		<view class="headImg">
			<u-avatar :src="src"></u-avatar>
		</view>
		<view class="name">
			<view>
				<view class="userName">星辰夜
					<view class="iconStyle">
						<u-icon color="#fff" size="8" name="woman"></u-icon>
					</view>
				</view>
				<view>开心每一天</view>
			</view>
			<view>
				<u-tag color="#d9873e"  bgColor="#fef2e8" borderColor="#fef2e8" size="mini" text="关注TA" plain
					shape="circle"></u-tag>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				src:'https://pnglog.com/Fo1L9H.jpg'
			}
		}
	}
</script>

<style scoped lang="scss">
	.TAText_head {
		width: 90%;
		margin: auto;
		display: flex;
		align-items: center;
		height: 150rpx;
		border-bottom: 1px #f2f2f2 solid;
	
		.headImg {
			width: 20%;
		}
	
		.name {
			display: flex;
			justify-content: space-between;
			align-items: center;
			font-size: 24rpx;
			width: 80%;
	
			.userName {
				display: flex;
				align-items: center;
	
				.iconStyle {
					background: #f0588d;
					border-radius: 1000rpx;
					margin: 0 10rpx;
					padding: 5rpx 2rpx;
				}
			}
		}
	}
</style>